<?php
use think\Controller;
use think\Db;

function group($id){
    $user=Db::name('group')->where('gr_id',$id)->value('gr_group');
    return $user;
}